#pragma once
#ifndef _FORT_CUBE_H
#define _FORT_CUBE_H

#include <graphics/d3d11/Mesh.h>
#include <graphics/colour.h>

namespace fort
{

	class Cube : public Mesh
	{
	public:
		Cube();
		~Cube();

		void Init(Platform &platform, float x, float y, float z, float scale);
		void Render();

		void CreateBuffers(Platform &platform, const vertex verts[], const UInt32 indices[]);
		//void CreateIndexBuffer(Platform &platform, const UInt32 indices[]);
	protected:

		
		//-- Can be filled with line, triangle, cube etc data
		//vertex vertice_buffer[];

	private:
		static const UInt32 indices[];
		static const Mesh::vertex vertices[];
		ID3D11Buffer*  vertex_buffer;
		ID3D11Buffer*  index_buffer;

		UINT index_count;


	};

}

#endif